GetMatrixType
TheGetMatrixType
function allows your application to obtain information about a matrix. This information indicates the nature of the transformation defined by the matrix.
pascal short GetMatrixType (MatrixRecordPtr m);
m
- Points to the matrix for this operation.
DESCRIPTION
TheGetMatrixType
function returns an integer that indicates the nature of the transformation defined by the matrix. The following values are possible:
identityMatrixType
- Indicates that the specified matrix is an identity matrix.
translateMatrixType
- Indicates that the specified matrix defines a translation operation.
scaleMatrixType
- Indicates that the specified matrix defines a scaling operation.
scaleTranslateMatrixType
- Indicates that the specified matrix defines both a translation operation and a scaling operation.
linearMatrixType
- Indicates that the specified matrix defines a rotation, skew, or shear operation.
linearTranslateMatrixType
- Indicates that the specified matrix defines both a translation operation and a rotation, skew, or shear operation.
perspectiveMatrixType
- Indicates that the specified matrix defines a perspective (nonlinear) operation.
ERROR CODES
None